package cn.piesat;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@SpringBootApplication

@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
@MapperScan("cn.piesat.mapper")
public class Application {
    //加密存储密码
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
